package com.ie.service.admin;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ie.common.http.ResponseResult;
import com.ie.entity.CartEntity;
import com.ie.entity.GoodsEntity;

import java.util.List;
import java.util.Map;

/**
 * @author S2
 */
public interface GoodsService  extends IService<GoodsEntity> {
    ResponseResult<Map<String, Object>> getGoods(GoodsEntity goodsEntity);

    ResponseResult<List<GoodsEntity>> getAdvGoods();

    ResponseResult<List<GoodsEntity>> getGoodsIndex(GoodsEntity goodsEntity);

    ResponseResult<Map<String, String>> addGoods(GoodsEntity goodsEntity);

    ResponseResult<Map<String, String>> deleteGoods(GoodsEntity goodsEntity);

    ResponseResult<Map<String, Object>> iPageMyFocusGoods(GoodsEntity goodsEntity);

    ResponseResult<List<Map<String, Object>>> myCartGoods(CartEntity cartEntity);
}
